package com.atguigu.gmall.common.config.exception.annotation;

import com.atguigu.gmall.common.config.exception.GlobalExceptionAutoConfiguration;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

//自定义注解开启
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import(GlobalExceptionAutoConfiguration.class)
public @interface EnableAutoExceptionHandle {
}
